﻿using System;
using System.Collections.Generic;
using System.Text;
using VietKinsNutrition.Data;
using DevExpress.XtraGrid.Views.Grid;
using System.Data;

namespace VietKinsNutrition.Bussiness
{
    public class ClsTblDm_HoadontrongngayBLL
    {
        ClsTblDm_HoadonnhaptrongngayDAL ClsTblDm_Hoadonnhaptrongngay_dal = new ClsTblDm_HoadonnhaptrongngayDAL();
        public void Bind_DGrid(GridView gridView, DateTime NgayNX)
        {
            DataTable ReturnTbl = new DataTable();
            try
            {
                ReturnTbl = this.ClsTblDm_Hoadonnhaptrongngay_dal.GetTable_HoadondichoByThomnd(NgayNX);
                gridView.GridControl.DataSource = ReturnTbl;
            }
            catch { }
        }
    }
}
